package cn.glenn._04weibo.mapper;

import cn.glenn._04weibo.pojo.enity.Weibo;
import cn.glenn._04weibo.pojo.vo.WeiboDetailVO;
import cn.glenn._04weibo.pojo.vo.WeiboIndexVO;

import java.util.List;

public interface WeiboMapper {
    int insert(Weibo weibo);
    List<WeiboIndexVO> selectWeiboByUserId(Long userId);
    WeiboDetailVO selectWeiboDetailById(Long id);
}
